home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19980424-19980901
/
000248_news@newsmaster….columbia.edu _Mon Jul 6 17:08:43 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA21532
for <kermit.misc@watsun.cc.columbia.edu>; Mon, 6 Jul 1998 17:08:42 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id RAA09779
for kermit.misc@watsun; Mon, 6 Jul 1998 17:08:42 -0400 (EDT)
Path: news.columbia.edu!panix!howland.erols.net!newspeer.monmouth.com!uunet!in1.uu.net!news.ra.rockwell.com!sjanich@mke.ab.com
From: Petre Scheie <pmscheie@ra.rockwell.com>
Newsgroups: comp.protocols.kermit.misc
Subject: sending commands to CONNECT
Date: Mon, 06 Jul 1998 14:06:35 -0500
Organization: Rockwell Automation-DataMyte
Lines: 23
Message-ID: <35A1203B.165AF584@ra.rockwell.com>
NNTP-Posting-Host: 130.151.18.141
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 4.04 [en] (Win95; I)
Xref: news.columbia.edu comp.protocols.kermit.misc:8947
I'm using Kermit to talk to a device that monitors who goes in and out
of the building. The device is designed to talk to a terminal, so I've
got a Linux box connected to it. Everything works fine if I connect to
the device with Kermit and issue commands to the device when in CONNECT
mode. I can run some reports and the output from those scrolls across
the screen and are sent to a session log file. But I want to use a cron
job to run the reports. I've got the commands all in a file and they
seem to get sent to the device, but until I CONNECT, the output from the
deivce doesn't seem to go anywhere. If I send the command file to the
device, then do a CONNECT, all the commands and responses appear on the
screen, as if they are buffered somewhere. If I turn the session log on
I can capture this to a file. But to automate this I need to be able to
then send a Ctrl-\C to Kermit to get back to command mode. Anyone know
how to do this? Or have any idea about why I can't redirect the output
from the device that seems to be coming to Kermit into a file? I've
tried some redirection to files, but nothing ever gets there. The only
way I've been able to get the output to a file is with the LOG SESS FILE
command, but CONNECT has to be used for that to work, and then I'm back
to my original problem. Thanks for any help.
Petre Scheie
pmscheie@ra.rockwell.com